package cn.zkw.vo;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class User_like implements Serializable,Comparable<User_like> {
    private Integer user_id;
    private Integer label_id;
    private Integer click_count;

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getLabel_id() {
        return label_id;
    }

    public void setLabel_id(Integer label_id) {
        this.label_id = label_id;
    }

    public Integer getClick_count() {
        return click_count;
    }

    public void setClick_count(Integer click_count) {
        this.click_count = click_count;
    }

    @Override
    public String toString() {
        return "User_like{" +
                "user_id=" + user_id +
                ", label_id=" + label_id +
                ", click_count=" + click_count +
                '}';
    }

    @Override
    public int compareTo(User_like o) {
        return o.getClick_count();
    }
}
